home *** CD-ROM | disk | FTP | other *** search
/ Network Support Library / RoseWare - Network Support Library.iso / logbatch / netmsg.exe / NETMSG.DOC < prev    next >
Text File  |  1993-05-08  |  22KB  |  505 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.                Network Message Viewing Utility, (NETMSG)
  16.  
  17.                             Copyright 1992
  18.  
  19.                              Micro-Support
  20.                            302 Garner Avenue
  21.                           Waldorf, Md.   20602
  22.                              (301) 843-8234
  23.  
  24.                           All Rights Reserved
  25.  
  26.  
  27. Overview -
  28.  
  29. NETMSG is a utility that allows network administrators to show LAN users
  30. a single message or a series of messages.  The administrator can opt to
  31. show each message only once, or several times.  There are several other
  32. options that can be configured.  A date to start showing this message,
  33. or to stop showing it during the logon process.  Addtionally, the
  34. message requires that the LAN user type something to acknowledge that
  35. the message has indeed been read.  If messages are not purged from the
  36. file, a record is kept showing who has read each item and who has not.
  37.  
  38. Why -
  39.  
  40. Every network administrator has at one time used LOGIN script files to
  41. display messages to users.  The message displays on the screen with a
  42. prompt to 'Press any Key to continue...'.  While some users will read
  43. this information, others will not.  This utility was written to address
  44. the latter group.  Using NETMSG will allow you to show LAN users
  45. important information without getting them into the habit of banging
  46. away on the keyboard while trying to login.
  47.  
  48.         So in essense it serves two purposes:
  49.  
  50.                 1. Show a user a message a specified number of times and
  51.                    requires that they read a portion of it at minimum.
  52.  
  53.                 2. Keeps a record of who has read each message and keeps
  54.                    LOGIN interuptions to a minimum.
  55.  
  56.  
  57.  
  58. Contents -
  59.  
  60.         NETMSG contains the following files:
  61.  
  62.                 NETMSG.EXE       -  The main executable
  63.  
  64.                 MSG_SHOW.DBF     -  Message database
  65.                 MSG_SHOW.DBT     -  Message text database
  66.                 MSG_USER.DBF     -  User database
  67.                 USER_FDX.FDX     -  Index to user database
  68.  
  69. NETMSG.EXE is the only required file.  All of the other files will be
  70. created if they do not exist in the current directory.
  71.  
  72.  
  73.  
  74. Installation -
  75.  
  76. NETMSG should be installed on the file server by the system
  77. administrator.  It does not require any specified directory or volume
  78. name or other complicated scheme.  Simply place the NETMSG.EXE file in a
  79. directory that all users will have READ and WRITE access to.  READ
  80. access is required so they can read the messages.  WRITE access is
  81. required so that the user database can be updated when a message has
  82. been read.
  83.  
  84. If you do not already have a DOS environment variable called
  85. 'USER_NAME', you can create one in the LOGIN script or from any batch
  86. file.
  87.  
  88.         EXAMPLE:
  89.  
  90.               - From LOGIN Script:
  91.  
  92.                 DOS SET USER_NAME="%LOGIN_NAME"
  93.  
  94.                 From DOS:
  95.  
  96.               - SET USER_NAME=DSMITH (or whatever you want)
  97.  
  98.  
  99.  
  100. Usage -
  101.  
  102. This utility was written to accept information from the DOS environment.
  103. The USER_NAME variable M U S T be set to SUPERVISOR if you wish to use
  104. the editing functions.  SUPERVISOR is the only name recognized to allow
  105. adding/editing/deleting records in the message database.
  106.  
  107.         So to create a new message file, follow these steps:
  108.  
  109.         1. Install the software on the file server
  110.         2. Insure that users have read/write rights
  111.         3. Set an environment variable for each user
  112.         4. Set your DOS environment variable to 'SUPERVISOR'
  113.         5. Then enter the program name at the DOS Prompt, eg;
  114.  
  115.                    F:\PUBLIC\SET USER_NAME=SUPERVISOR
  116.                    f:\PUBLIC\NETMSG
  117.  
  118.                 (your prompt may be different than this)
  119.  
  120.  
  121.  
  122.         The screen will clear and you will be presented with this prompt.
  123.  
  124.                     Do message base maintenance ? (Y/N)  N
  125.  
  126. Just press the Enter key, and the system will process you just as if you
  127. were a normal user logging onto the network.  Enter a 'Y' and pressing
  128. Enter will bring up the maintance screen.
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  Add   Edit  Next  Prev  Memo Del Quit
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.          ┌─────────────────────────────────────────────────────────────┐
  143.          │Message ID Number ............... 1                          │
  144.          │Message Start Date .............. 07/09/92                   │
  145.          │Message Stop Date ............... 07/16/92                   │
  146.          │Number of Viewing Repetitions ...  3                         │
  147.          │ByPass Instructions prompt ......                            │
  148.          │     TYPE 'OK' TO QUIT VIEWING THIS MESSAGE                  │
  149.          │What must the user type to leave? OK                         │
  150.          └─────────────────────────────────────────────────────────────┘
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157. Add a message to the Database
  158.  
  159. If the database is empty (which is the case the first time), You will
  160. notice that the message ID number has been incremented to 1 and the
  161. cursor is flashing.  It is suggested you accept the default message ID.
  162. Message ID's are automatically incremented by one.  NETMSG as present
  163. does not check to see if a duplicate message ID has been entered.  You
  164. do not have to accept the default ID and can in fact assign any four
  165. character ID you wish.  You can come up with as complicated a scheme to
  166. number messages as you feel comfortable with.  (Just DON'T duplicate the
  167. ID's).
  168.  
  169.         Entering your first message consists of two steps:
  170.  
  171.         1. Complete the fields displayed on the screen
  172.         2. Enter the actual message text into the database.
  173.  
  174. The fields and their descriptions from top to bottom are as follows:
  175.  
  176.         a. Message ID
  177.  
  178.                 Pressing the Enter key will accept the default.  The ID
  179.                 field is incremented by one automatically.
  180.  
  181.         b. Message Start Date
  182.  
  183.                 This is the date you want the messgae to start appearing.
  184.                 It will default to today's date, but can be overwritten
  185.                 with any date you wish. It is in the format MM/DD/YY.
  186.  
  187.         c. Message Stop Date
  188.  
  189.                 This is the date the message will stop displaying.
  190.                 Start and stop dates are inclusive. The format is the
  191.                 same as the start date and defaults to 7 days later.
  192.  
  193.         d. Number of viewing repetitions
  194.  
  195.                 This is the number of times a user will see the message.
  196.                 You may enter any number from 0 to 99.  Entering a zero
  197.                 will result in a user never seeing the message.
  198.  
  199.         e. Instructions on how to bypass the message screen.
  200.  
  201.                 You may enter a one line set of instructions on what the
  202.                 user must type to quit viewing this message.  Another
  203.                 alternative to this is to include the instructions in the
  204.                 message text and leave this line blank.  It is your choice.
  205.  
  206.         f. What must the user type
  207.  
  208.                 This field contains the keystrokes the user must enter
  209.                 to acknowledge that the message has been read and continue
  210.                 on to the next message or complete the LOGIN process.
  211.                 This is a character field and all entry is converted to
  212.                 uppercase.  You could have the user enter OK,YES,ABCD, or
  213.                 any combinations of alphanumeric text. For example, A178CD.
  214.  
  215. It is suggested that you vary the place you include instructions and
  216. that you also vary what the user must type.  Remember, this utility is
  217. supposed to insure that a user will read the message and not merely bang
  218. on the keyboard to bypass it.  Since you will only be showing it to them
  219. a specified number of times, it shouldn't get too boring for them.
  220.  
  221. If you wish, you may leave the 'what the user must type' field blank and
  222. the user may just press the enter key to continue on.  You should still
  223. include the appropriate message in the 'ByPass' field.
  224.  
  225. Once you have entered all the information, you will be prompted if you
  226. wish to save the information.  Press 'Y' to save or press the Enter key
  227. on the default of 'N' if you decide to to save the message.
  228.  
  229.         The options in the edit screen are as follows:
  230.  
  231.         Add  - Add a new record
  232.         Edit - Edit the contents of the record displayed
  233.         Next - Skip to the next record in the database
  234.         Prev - Skip backwards to the previous record
  235.         Memo - Add/Edit the actual message text
  236.         Del  - Delete this message
  237.         Quit - Quit from the maintance screen
  238.  
  239.         NOTE:   Once you quit, the databases are checked for deletions
  240.                 and both files are purged of deleted records and user
  241.                 records that indicated that a message that has been
  242.                 deleted has been read.
  243.  
  244.                 If you wish to keep a record of messages that have been
  245.                 posted and who has read them, just change the stop date
  246.                 to yesterday's date.  It will then remain in the system
  247.                 but will not be shown to anyone else.
  248.  
  249.                 While the files are being purged, you will see the
  250.                 following message:
  251.  
  252.                 Checking databases for deletions ... please wait
  253.  
  254. Once the databases have been purged, you will automatically go through
  255. the message viewing process.  When you have viewed all the messages
  256. currently in the system, you will be returned to DOS.
  257.  
  258. Messages are kept in a memo field.  (Hence the command 'MEMO' on the
  259. menu ). It is suggested you keep messages to about 21 lines of 75
  260. characters each.  This will allow them to be displayed on one screen
  261. without the user needing to press any keys other than what is required
  262. to exit that message.
  263.  
  264.  
  265.         The following figure details the memo editing keys.
  266.  
  267.       ╔══│ KEY(s) │═════════════════════│ ACTION  │═══════════════════════╗
  268.       ║                                                                   ║
  269.       ║ Right arrow ............... Moves cursor to the right             ║
  270.       ║ Left arrow ................ Moves cursor to the left              ║
  271.       ║ Ctrl-Right arrow .......... Moves word right                      ║
  272.       ║ Ctrl-Left arrow ........... Moves word left                       ║
  273.       ║ Ctrl-PgUp ................. Positions cursor at beginning of text ║
  274.       ║ Ctrl-PgDn ................. Positions cursor at end of text       ║
  275.       ║ Ctrl-K-F .................. Search for a word                     ║
  276.       ║ Ctrl-K-L .................. Continue word search                  ║
  277.       ║ Ctrl-T .................... Deletes word                          ║
  278.       ║ Ctrl-Y .................... Deletes line                          ║
  279.       ║ Ctrl-N .................... Insert a line                         ║
  280.       ║ Ctrl-KR ................... Read in a text file                   ║
  281.       ║ Ctrl-KW ................... Write text                            ║
  282.       ║ Ctrl-W  ................... Save text and exit                    ║
  283.       ║ End ....................... Moves cursor to the end of line       ║
  284.       ║ Home ...................... Moves cursor to beginning of line     ║
  285.       ║ Escape .................... Abort editing                         ║
  286.       ╚═══════════════════════════════════════════════════════════════════╝
  287.  
  288.  
  289.  
  290.  
  291. Listed below are sample data for the two databases.  Notice that
  292. USER_NAME DSMITH will see message number one two more times, but will
  293. not see message number three anymore because the stop date has been
  294. passed.
  295.  
  296.  
  297. This data assumes that today's date is 07/12/92
  298.  
  299. Record#  MESS_ID START    STOP     REPS U_PROMPT                                           U_ASK      MESS
  300.       1  1       07/09/92 07/16/92    3 TYPE 'OK' TO QUIT VIEWING THIS MESSAGE             OK         Memo
  301.       2  2       07/09/92 07/16/92    1 TYPE 'EXIT' TO EXIT THIS MESSAGE                     OK         Memo
  302.       3  3       07/09/91 07/10/91    1 READ THE MESSAGE FOR EXIT INSTRUCTIONS!            EXIT       Memo
  303.  
  304. Record#  MESS_ID U_NAME         REPS
  305.       1  1       DSMITH            2
  306.       2  1       SUPERVISOR        0
  307.       3  1       JJONES            0
  308.       4  2       DSMITH            0
  309.       5  3       DSMITH            1
  310.  
  311.  
  312.  
  313. Below is an example of the message viewing screen.  Notice how the
  314. instructions and what the user was required to type are at the bottom of
  315. the screen.  The second screen has an example of including the user
  316. instructions in the body of the text.  The third screen will allow the
  317. user to just press the ENTER key.  You accomplish this by not placing
  318. any required text in the field 'What must the user type'.
  319.  
  320.   ┌───────────────────────────────────────────────────────────────────────────┐
  321.   │                                                                           │
  322.   │                                                                           │
  323.   │                                                                           │
  324.   │          Welcome to NETMSG!                                               │
  325.   │                                                                           │
  326.   │          NETMSG is a nifty little program that will allow                 │
  327.   │          you to see important messages when you LOGIN to                  │
  328.   │          the Local Area Network.                                          │
  329.   │                                                                           │
  330.   │          Most messages you will only see once.                            │
  331.   │                                                                           │
  332.   │          Some messages may appear more often.  If you think you           │
  333.   │          are seeing a message(s) to many times, your                      │
  334.   │          LAN ADMINISTRATOR has the time to hear your concerns.            │
  335.   │                                                                           │
  336.   │          We hope you enjoy this NEW utility!                              │
  337.   │                                                                           │
  338.   │                                                                           │
  339.   │                                                                           │
  340.   │                                                                           │
  341.   └───────────────────────────────────────────────────────────────────────────┘
  342.    TYPE 'OK' TO EXIT THIS MESSAGE                     OK
  343.  
  344.  
  345.  
  346.   ┌───────────────────────────────────────────────────────────────────────────┐
  347.   │                                                                           │
  348.   │                                                                           │
  349.   │                                                                           │
  350.   │                                                                           │
  351.   │         This extremely IMPORTANT message requires you to:                 │
  352.   │                                                                           │
  353.   │                                                                           │
  354.   │             a. READ the MESSAGE                                           │
  355.   │                                                                           │
  356.   │             b. Type the letters 'EXIT' without the quotes                 │
  357.   │                and then press your ENTER key.                             │
  358.   │                                                                           │
  359.   │                                                                           │
  360.   │             Once you do these two things, you'll never have to            │
  361.   │             bother with this message again!                               │
  362.   │                                                                           │
  363.   │                                                                           │
  364.   │                                                                           │
  365.   │                                                                           │
  366.   │                                                                           │
  367.   └───────────────────────────────────────────────────────────────────────────┘
  368.    READ THE MESSAGE FOR EXIT INSTRUCTIONS!            EXIT
  369.  
  370.  
  371.  
  372.  
  373.   ┌───────────────────────────────────────────────────────────────────────────┐
  374.   │                                                                           │
  375.   │                                                                           │
  376.   │                                                                           │
  377.   │                                                                           │
  378.   │         This extremely IMPORTANT message requires you to:                 │
  379.   │                                                                           │
  380.   │                                                                           │
  381.   │             a. READ the MESSAGE                                           │
  382.   │                                                                           │
  383.   │             b. Press the ENTER key to quit viewing this message.          │
  384.   │                                                                           │
  385.   │                                                                           │
  386.   │                                                                           │
  387.   │             Once you do these two things, you'll never have to            │
  388.   │             bother with this message again!                               │
  389.   │                                                                           │
  390.   │                                                                           │
  391.   │                                                                           │
  392.   │                                                                           │
  393.   │                                                                           │
  394.   └───────────────────────────────────────────────────────────────────────────┘
  395.    PRESS THE ENTER KEY TO EXIT THIS MESSAGE
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403. DISCLAIMER -
  404.  
  405. MICRO-SUPPORT DISCLAIMS ANY WARRANTY EITHER EXPRESS OR IMPLIED AND ANY
  406. CLAIMS AS TO MERCHANTABILITY OF FITNESS FOR ANY PARTICULAR PURPOSE.  ALL
  407. RISKS IN USING THIS SOFTWARE ARE ASSUMED BY THE USER.  USE OF THE
  408. SOFTWARE ACKNOWLEDGES AGREEMENT.
  409.  
  410.  
  411.  
  412.  
  413.  
  414.  
  415. Distribution -
  416.  
  417. There is no cost associated with this software.  Feel free to upload it
  418. to Electronic Bulletin Boards, copy it for friends, mail it to
  419. business's, or hand carry it to all your business associates.
  420.  
  421. You may not charge for this software or include it as part of a package
  422. you do charge for except for a nominal disk duplication fee.  If you
  423. charge a fee for disks, drop a postcard in the mail to the following
  424. address:
  425.  
  426.  
  427.                              Micro-Support
  428.                            302 Garner Avenue
  429.                            Waldorf, Md. 20602
  430.                              (301) 843-8234
  431.  
  432.  
  433. Registration -
  434.  
  435. You don't have to do anything to register this software.  Just start
  436. using it.
  437.  
  438. If you like this utility, use this utility, have comments about this
  439. utility, or would like to suggest enhancements or point out obvious
  440. bugs, please drop a note in the mail.  Comments and suggestions will be
  441. implemeted at my sole discretion, but if you don't make them or I don't
  442. think of them, too bad.
  443.  
  444. If you want to send a donation, send it payable to the above.
  445.  
  446. If you have questions call the number above.  Additionally, you may
  447. reach me in one of the following ways:
  448.  
  449.         CIS  : 76420,1077
  450.         GEnie: MICRO.SUPPT
  451.  
  452. Updates -
  453.  
  454. This is the last update I will send out electronically.
  455.  
  456. Version Control -
  457.  
  458. Version 1.0 July 31, 1992
  459.  
  460. A suggestion was made to restore the screen
  461. colors after leaving the message showing routine.  Actually the screen
  462. colors were restored, just didn't clear the screen.  So you ended up
  463. with yellow text on a blue background.  Now the screen colors are set
  464. back to DOS black and white and then the screen is cleared.
  465.  
  466. Message text is entered separately from the rest of the data.  This
  467. resulted in a few of my users seeing the screen and the instructions on
  468. how to exit, but they never saw the message.  This only happened when
  469. someone was logging in during the editing process.  I suggested that we
  470. were trying a new invisible screen color.  They bought it!  That is a
  471. weakness in the way this language handles the text portion of the
  472. record.  My suggestion to you if it is a big problem; create the message
  473. text as an ASCII file and use the Ctrl-K-R keys to read the text into
  474. the memo field.  It's more work, but then you don't have to explain why
  475. you are experimenting with invisible screen colors.
  476.  
  477. AND thats all the suggestions I got!  Not bad for a first release of
  478. such a wonderful utility!  Thanks for all those kind comments, cards and
  479. letters.
  480.  
  481. Version .90  July 10, 1992
  482.  
  483. Completed first bugfree version for release
  484.  
  485. Coming Attractions -
  486.  
  487. Do away with ENVIRONMENT VARIABLES
  488. Limit messages to GROUPS or USERS
  489. Add Reports to the SUPERVISOR options
  490. Add archive database to track all message reads forever
  491. Get a real (better) editor for messages
  492. Specify alternate USERID's for Adding/Editing etc.
  493. Add a USER FEEDBACK/SURVEY option configurable by message.
  494. Add a daily quote (might even make it a security type message!)
  495. Add option to reset message counter for all USERS or a GROUP
  496. Add 'TechnoFlash' to message display
  497.  
  498. These enhancements will constitute a major upgrade and will be available
  499. for the nominal charge of $49 US per server.  One word of caution to those
  500. who are considering purchasing the upgrade.  The enhanced version currently
  501. takes 2-4 seconds to load on a 4 megabit Token Ring network.  The load size
  502. is currently 328k.  There are many more features, hence the larger file
  503. size.  Upgrades include a printed bound manual and new disk.  The upgrade
  504. will not be compatible with older files.
  505.